/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.synjones.pay.serv.recharge.service;

import com.synjones.pay.model.recharge.RechargeReqBean;
import com.synjones.pay.model.recharge.RechargeRespBean;
import com.synjones.pay.serv.dao.bean.RechargeDao;


/**
 *
 * @author hsd
 */
public interface IRechargeService {
    
    /**
     * 处理提交数据
     * @param reqBean
     * @return 
     */
    public RechargeRespBean tradeProcess(RechargeReqBean reqBean);
    
    /**
     * 保存订单
     * @param dao
     * @return 
     */
    public boolean save(RechargeDao dao);
    
    /***
     * 获取支付结果并返回指定信息
     * @param dao
     * @return 
     */
    public RechargeRespBean getTradeResult(RechargeDao dao);
    
    /***
     * 更新流水号码
     * @param serialNo
     * @param orderId
     * @return 
     */
    public boolean updateSerialNo(String serialNo, String orderId);
    
}
